Method CreateChallengeAsync(long, string, string, string?, string[]?, CancellationToken)

Assembly: redb.Identity.Core.dll

Overload that lets callers reuse the methods array from the original MFA state, avoiding
an extra DB roundtrip when the list has not changed.

public Task<MfaChallengeResult> CreateChallengeAsync(long userId, string username, string methodId, string? returnUrl, string[]? knownMethods, CancellationToken ct = default)